/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.service.dto;

import lombok.Data;
import java.math.BigDecimal;
import java.io.Serializable;

/**
* @website https://el-admin.vip
* @description /
* @author ...
* @date 2020-11-08
**/
@Data
public class LibraryDto implements Serializable {

    /** 图书管编号，自增长 */
    private Integer libraryId;

    /** 图书馆名 */
    private String name;

    /** 0:官方图书馆  1:个人图书馆 */
    private Boolean type;

    /** 纬度 */
    private BigDecimal latitude;

    /** 经度 */
    private BigDecimal longitude;

    /** 图书馆所有者的编号 对应reader_id */
    private Integer ownerId;

    /** 图书馆后台管理账号的编号对应user_id */
    private Integer userId;

    /** 图书馆地址 */
    private String address;

    /** 是否启用 1启用 0未启用 */
    private Boolean isEnable;
}